<?php
return array(
	array(
        'title' => 'Business Pages Main Menu',
        'description' => 'Displays main menu.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.main-menu'
	),
	
    array(
        'title' => 'Business Pages Featured Businesses',
        'description' => 'Displays featured Businesses',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.featured-businesses',
        'defaultParams' => array(
            'title' => 'Featured Businesses',
        ),
    ),
    
    array(
        'title' => 'Business Pages Browse Categories',
        'description' => 'Displays categories level 1 and child.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.browse-categories',
        'defaultParams' => array(
          'title' => 'Browse Categories',
        ),
    ),
    
    array(
        'title' => 'Business Pages Newest Businesses',
        'description' => 'Displays newest businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.newest-businesses',
        'defaultParams' => array(
          'title' => 'Newest Businesses',
        ),
    ),
    
    array(
        'title' => 'Business Pages Business Search',
        'description' => 'Displays form for searching businesses',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.business-search',
        'defaultParams' => array(
            'title' => 'Business Search',
        ),
    ),
    
    array(
        'title' => 'Business Pages List Categories',
        'description' => 'Displays a list of categories.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.list-categories',
        'defaultParams' => array(
            'title' => 'Categories',
        ),
    ),
    
    array(
        'title' => 'Business Pages Most Liked Businesses',
        'description' => 'Displays a list of most liked businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.most-liked-businesses',
        'defaultParams' => array(
            'title' => 'Most Liked Businesses',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_businesses',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Most Viewed Businesses',
        'description' => 'Displays a list of most viewed businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.most-viewed-businesses',
        'defaultParams' => array(
            'title' => 'Most Viewed Businesses',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_businesses',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Most Rated Businesses',
        'description' => 'Displays a list of most rated businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.most-rated-businesses',
        'defaultParams' => array(
            'title' => 'Most Rated Businesses',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_businesses',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Recent Reviews',
        'description' => 'Displays a list of recent reviews',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.recent-reviews',
        'defaultParams' => array(
            'title' => 'Recent Reviews',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_businesses',
                    array(
                        'label' => 'Number of reviews will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Businesses You May Like',
        'description' => 'Displays a list of busineses you may like.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.businesses-you-may-like',
        'defaultParams' => array(
            'title' => 'Businesses You May Like',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_listings',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Most Discussed Businesses',
        'description' => 'Displays a list of most discussed businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.most-discussed-businesses',
        'defaultParams' => array(
            'title' => 'Most Discussed Businesses',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_listings',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Most Checked-in Businesses',
        'description' => 'Displays a list of most checked-in businesses.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.most-checkedin-businesses',
        'defaultParams' => array(
            'title' => 'Most Checked-in Businesses',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_listings',
                    array(
                        'label' => 'Number of businesses will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Business Pages Businesses Tags',
        'description' => 'Displays businesses tags.',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.businesses-tags',
          'defaultParams' => array(
            'title' => 'Tags',
        ),
    ),
    
	array(
        'title' => 'Business Pages Businesses Listing',
        'description' => 'Displays Businesses Listing',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.businesses-listing',
		'defaultParams' => array(
      		'title' => '',
    	),
        'requirements' => array(
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
					'title',
					array(
					   'label' => 'Title'
					)
				),	
				array(
					'Heading',
					'mode_enabled',
					array(
						'label' => 'Which view modes are enabled?'
					)
				),
				array(
					'Radio',
					'mode_list',
					array(
						'label' => 'List view.',
						'multiOptions' => array(
							1 => 'Yes.',
							0 => 'No.',
						),
						'value' => 1,
					)
				),
				array(
					'Radio',
					'mode_grid',
					array(
						'label' => 'Grid view.',
						'multiOptions' => array(
							1 => 'Yes.',
							0 => 'No.',
						),
						'value' => 1,
					)
				),
				array(
                    'Radio',
                    'mode_pin',
                    array(
                        'label' => 'Pin view.',
                        'multiOptions' => array(
                            1 => 'Yes.',
                            0 => 'No.',
                        ),
                        'value' => 1,
                    )
                ),
				array(
					'Radio',
					'mode_map',
					array(
						'label' => 'Map view.',
						'multiOptions' => array(
							1 => 'Yes.',
							0 => 'No.',
						),
						'value' => 1,
					)
				),
				array(
					'Radio',
					'view_mode',
					array(
						'label' => 'Which view mode is default?',
						'multiOptions' => array(
							'list' => 'List view.',
							'grid' => 'Grid view.',
							'map' => 'Map view.',
							'pin' => 'Pin view.',
						),
						'value' => 'list',
					)
				),
			)
		)
	),
	
    array(
        'title' => 'Business Pages Businesses Claim',
        'description' => 'Displays Businesses Claim',
        'category' => 'Business Pages',
        'type' => 'widget',
        'name' => 'ynbusinesspages.businesses-claim',
        'defaultParams' => array(
            'title' => '',
        ),
        'requirements' => array(
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                       'label' => 'Title'
                    )
                ),  
                array(
                    'Heading',
                    'mode_enabled',
                    array(
                        'label' => 'Which view modes are enabled?'
                    )
                ),
                array(
                    'Radio',
                    'mode_list',
                    array(
                        'label' => 'List view.',
                        'multiOptions' => array(
                            1 => 'Yes.',
                            0 => 'No.',
                        ),
                        'value' => 1,
                    )
                ),
                array(
                    'Radio',
                    'mode_grid',
                    array(
                        'label' => 'Grid view.',
                        'multiOptions' => array(
                            1 => 'Yes.',
                            0 => 'No.',
                        ),
                        'value' => 1,
                    )
                ),
                array(
                    'Radio',
                    'mode_pin',
                    array(
                        'label' => 'Pin view.',
                        'multiOptions' => array(
                            1 => 'Yes.',
                            0 => 'No.',
                        ),
                        'value' => 1,
                    )
                ),
                array(
                    'Radio',
                    'mode_map',
                    array(
                        'label' => 'Map view.',
                        'multiOptions' => array(
                            1 => 'Yes.',
                            0 => 'No.',
                        ),
                        'value' => 1,
                    )
                ),
                array(
                    'Radio',
                    'view_mode',
                    array(
                        'label' => 'Which view mode is default?',
                        'multiOptions' => array(
                            'list' => 'List view.',
                            'grid' => 'Grid view.',
                            'map' => 'Map view.',
                            'pin' => 'Pin view.',
                        ),
                        'value' => 'list',
                    )
                ),
            )
        )
    ),
    
	array(
        'title' => 'Job Posting Job Alert',
        'description' => 'Displays a job alert form.',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-alert',
        'defaultParams' => array(
      		'title' => 'Job Alert',
    	),
        'requirements' => array(
            'no-subject',
        ),
	),
	array(
        'title' => 'Job Posting Profile Job Photo',
        'description' => 'Displays a job company\'s photo',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-profile-photo',
        'requirements' => array(
			'subject' => 'ynjobposting_job',
        ),
	),
	array(
        'title' => 'Job Posting Profile Job Option',
        'description' => 'Displays a job options',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-profile-option',
        'requirements' => array(
			'subject' => 'ynjobposting_job',
        ),
	),
	array(
        'title' => 'Job Posting Profile Job Info',
        'description' => 'Displays a job info',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-profile-info',
        'requirements' => array(
			'subject' => 'ynjobposting_job',
        ),
	),
	array(
        'title' => 'Job Posting Related Jobs',
        'description' => 'Displays list of related jobs',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-related',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Related Jobs',
    	),
        'requirements' => array(
			'subject' => 'ynjobposting_job',
        ),
	),
	array(
        'title' => 'Job Posting Jobs From This Employer',
        'description' => 'Displays list of jobs from specific employer',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-company',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'More Jobs From This Employer',
    	),
        'requirements' => array(
			'subject' => 'ynjobposting_job',
        ),
	),
	array(
		'title' => 'Job Posting Company Profile Cover',
		'description' => 'Displays a company\'s cover and information on it\'s profile.',
		'category' => 'Job Posting',
		'type' => 'widget',
		'name' => 'ynjobposting.company-profile-cover',
		'defaultParams' => array(
      		'title' => '',
    	),
		'requirements' => array(
				'subject' => 'ynjobposting_company',
		),
	),
	array(
		'title' => 'Job Posting Company Profile Description',
		'description' => 'Displays a company\'s description on it\'s profile.',
		'category' => 'Job Posting',
		'type' => 'widget',
		'name' => 'ynjobposting.company-profile-description',
		'defaultParams' => array(
      		'title' => '',
    	),
		'requirements' => array(
				'subject' => 'ynjobposting_company',
		),
	),
	array(
		'title' => 'Job Posting Company Profile Info',
		'description' => 'Displays a company\'s infomation on it\'s profile.',
		'category' => 'Job Posting',
		'type' => 'widget',
		'name' => 'ynjobposting.company-profile-info',
		'defaultParams' => array(
      		'title' => 'General Information',
    	),
		'requirements' => array(
				'subject' => 'ynjobposting_company',
		),
	),
	array(
		'title' => 'Job Posting Company Profile Jobs',
		'description' => 'Displays a company\'s jobs on it\'s profile.',
		'category' => 'Job Posting',
		'type' => 'widget',
		'name' => 'ynjobposting.company-profile-jobs',
		'defaultParams' => array(
      		'title' => 'Jobs',
    	),
		'requirements' => array(
				'subject' => 'ynjobposting_company',
		),
	),
	array(
        'title' => 'Job Posting Sponsored Companies',
        'description' => 'Displays sponsored companies',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.sponsored-companies',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Sponsored Companies',
    	),
        'requirements' => array(
        ),
	),
	array(
        'title' => 'Job Posting Hot Companies',
        'description' => 'Displays Hot companies',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.hot-companies',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Hot Companies',
    	),
        'requirements' => array(
        ),
	),
	array(
        'title' => 'Job Posting Following Companies',
        'description' => 'Displays following companies',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.following-companies',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Following Companies',
    	),
        'requirements' => array(
        ),
	),
	array(
        'title' => 'Job Posting Applied Jobs',
        'description' => 'Displays applied jobs',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.applied-jobs',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Applied Jobs',
    	),
        'requirements' => array(
    		'subject' => 'user',
        ),
	),
	array(
        'title' => 'Job Posting Company Listing',
        'description' => 'Displays list of companies',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.company-listing',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => '',
    	),
        'requirements' => array(
        ),
        'adminForm' => array(
				'elements' => array(
					array(
						'Text',
						'title',
						array(
							'label' => 'Title'
						)
					),	
					array(
						'Heading',
						'mode_enabled',
						array(
							'label' => 'Which view modes are enabled?'
						)
					),
					array(
							'Radio',
							'mode_list',
							array(
								'label' => 'List view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_grid',
							array(
								'label' => 'Grid view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_map',
							array(
								'label' => 'Map view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'view_mode',
							array(
									'label' => 'Which view mode is default?',
									'multiOptions' => array(
										'list' => 'List view.',
										'grid' => 'Grid view.',
										'map' => 'Map view.',
									),
									'value' => 'list',
							)
					),
					
				)
			)
	),
	array(
        'title' => 'Job Posting Newest Jobs',
        'description' => 'Displays list of newest job',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.newest-job',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Newest Jobs',
    	),
        'requirements' => array(
        ),
        'adminForm' => array(
				'elements' => array(
					array(
						'Text',
						'title',
						array(
							'label' => 'Title'
						)
					),	
					array(
						'Heading',
						'mode_enabled',
						array(
							'label' => 'Which view modes are enabled?'
						)
					),
					array(
							'Radio',
							'mode_list',
							array(
								'label' => 'List view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_grid',
							array(
								'label' => 'Grid view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_map',
							array(
								'label' => 'Map view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'view_mode',
							array(
									'label' => 'Which view mode is default?',
									'multiOptions' => array(
										'list' => 'List view.',
										'grid' => 'Grid view.',
										'map' => 'Map view.',
									),
									'value' => 'list',
							)
					),
					
				)
			)
	),
	array(
        'title' => 'Job Posting Most Viewed Jobs',
        'description' => 'Displays list of most viewed jobs',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.most-viewed-job',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Most Viewed Jobs',
    	),
        'requirements' => array(
        ),
        'adminForm' => array(
				'elements' => array(
					array(
						'Text',
						'title',
						array(
							'label' => 'Title'
						)
					),	
					array(
						'Heading',
						'mode_enabled',
						array(
							'label' => 'Which view modes are enabled?'
						)
					),
					array(
							'Radio',
							'mode_list',
							array(
								'label' => 'List view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_grid',
							array(
								'label' => 'Grid view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_map',
							array(
								'label' => 'Map view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'view_mode',
							array(
									'label' => 'Which view mode is default?',
									'multiOptions' => array(
										'list' => 'List view.',
										'grid' => 'Grid view.',
										'map' => 'Map view.',
									),
									'value' => 'list',
							)
					),
					
				)
			)
	),
	array(
        'title' => 'Job Posting Hot Jobs',
        'description' => 'Displays list of most applied jobs',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.hot-job',
		'isPaginated' => true,
		'defaultParams' => array(
      		'title' => 'Hot Jobs',
    	),
        'requirements' => array(
        ),
        'adminForm' => array(
				'elements' => array(
					array(
						'Text',
						'title',
						array(
							'label' => 'Title'
						)
					),	
					array(
						'Heading',
						'mode_enabled',
						array(
							'label' => 'Which view modes are enabled?'
						)
					),
					array(
							'Radio',
							'mode_list',
							array(
								'label' => 'List view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_grid',
							array(
								'label' => 'Grid view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'mode_map',
							array(
								'label' => 'Map view.',
								'multiOptions' => array(
									1 => 'Yes.',
									0 => 'No.',
								),
								'value' => 1,
							)
					),
					array(
							'Radio',
							'view_mode',
							array(
									'label' => 'Which view mode is default?',
									'multiOptions' => array(
										'list' => 'List view.',
										'grid' => 'Grid view.',
										'map' => 'Map view.',
									),
									'value' => 'list',
							)
					),
					
				)
			)
	),
	array(
        'title' => 'Job Posting Company Search',
        'description' => 'Displays form for searching companies',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.company-search',
		'defaultParams' => array(
      		'title' => '',
    	),
        'requirements' => array(
        ),
	),
	
    array(
        'title' => 'Job Posting Interesting Jobs',
        'description' => 'Displays a list of interesting joba.',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.job-you-may-be-interested',
        'defaultParams' => array(
            'title' => 'Interesting Jobs',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title'
                    )
                ),
                array(
                    'Integer',
                    'num_of_jobs',
                    array(
                        'label' => 'Number of jobs will show?',
                        'value' => 3,
                    ),
                ),
            ),
        ),
    ),
    
    array(
        'title' => 'Job Posting Jobs Tags',
        'description' => 'Displays jobs tags.',
        'category' => 'Job Posting',
        'type' => 'widget',
        'name' => 'ynjobposting.jobs-tags',
          'defaultParams' => array(
            'title' => 'Tags',
        ),
    ),
);